package go;

public abstract class Universe
{
    static {
        Seq.touch();
        _init();
    }

    private Universe() {
    }

    private static native void _init();

    public static void touch() {
    }

    private static final class proxyerror extends Exception implements Proxy, error
    {
        private final int refnum;

        proxyerror(final int refnum) {
            Seq.trackGoRef(this.refnum = refnum, (Seq.GoObject)this);
        }

        @Override
        public native String error();

        @Override
        public String getMessage() {
            return this.error();
        }

        @Override
        public final int incRefnum() {
            Seq.incGoRef(this.refnum, (Seq.GoObject)this);
            return this.refnum;
        }
    }
}
